package com.sabm.dao;

import java.util.List;

import com.sabm.model.Address;
import com.sabm.model.Contact;
import com.sabm.model.Email;
import com.sabm.model.Phone;

public interface ContactDAO {
	public void saveOrUpdateAddress(Address address);
	public void saveOrUpdateEmail(Email email);
	public void saveOrUpdatePhone(Phone phone);
	//
	public void save(Contact contact);
	//
	public void delete(Contact contact);
	//
	public void update(Contact contact);
	//
	public List<Contact> getListContacts(int idAccount);
	//
	public List<Contact> getListContacts(int idAccount, int start, int length);
	//
	public int getTotalContacts(int idAccount);
	//
	public Contact getContactById(int idContact);
}
